package com.ffox.mapper;

import com.ffox.entity.StudentInformation;
import com.ffox.entity.UserInformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface StudentLoginMapper {
    //    根据number查数据
    public StudentInformation getStudentByNumber(String number);
    //增加
    public Integer insertStudent(StudentInformation loginStudent);
    //    修改
    public Integer updateStudent(@Param("id") Long id, @Param("params") Map<String, Object> params);

    public UserInformation getUserByNumber(String number);
}
